package top.xmj.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.xmj.pojo.SubMessage;

import java.util.*;

/**
 * @author 冰咖啡
 * Date:4/12/2022 下午 5:25
 * Description: 持久化操作-消息
 */

@Mapper
public interface SubMessageMapper extends BaseMapper<SubMessage> {

    /**
     * 根据用户名查找消息
     * @param id
     * @return
     */
    public List<SubMessage> getListById(@Param("id") String id);

}
